function SignUp() {
	var check = document.tab;
	if(check.dname.value == "") {
		alert("부서명을 입력해주세요");
		btn1.dname.focus();
		
		
	} /*if(check.deptno.selected == false) {
		alert("상위 부서를  선택해주세요");
		btn1.deptno.focus();
	
		
	}*/ if(check.dname.value !="") {
		alert("부서가 생성되었습니다.");
		btn1.deptno.value="";
		btn1.dname.value="";
		
	
	}

	return true;
}
function testFunction() {

	 
	return false;

	 
	}

function Sawoncheck() {
	var check = document.tab;
	if(check.name.value=="") {
		alert("이름을 입력하세요");
		return;
	}
	if(check.pwd.value=="") {
		alert("비밀번호를 입력하세요");
		return;
	}
	tab.submit();
}

function trueForm() { 
	alert("trueform");
	
	
	document.thisForm.test1.disabled = false;
	document.thisForm.test2.disabled = false;
	var tt1 = document.getElementById("tt1");
	var tt2 = document.getElementById("tt2");
	tt1.disabled = false;
	tt2.disabled = false;
	
}  



